package com.trailwalker.javafx.core.activity;

import com.trailwalker.javafx.core.application.JavaFxApplication;
import com.trailwalker.javafx.core.context.Context;
import com.trailwalker.javafx.core.entity.Intent;
import javafx.scene.layout.Pane;

/**
 * @author Trailwalker
 * @create 2021-09-05 15:37
 */
public abstract class ActivityContext extends Context {

    public abstract void onCreate();

    public abstract void startActivity(Intent intent);

    public abstract void finish();

    public abstract void setIntent(Intent intent);

    public abstract void setContainerView(Pane pane);

    public abstract void setApplication(JavaFxApplication application);

    public abstract void onRestart();

    public abstract void onDestroy();
}
